﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace IronCommander.Utils
{
    public static class ExtensionMethods
    {
        public static bool IsBlank(this string str)
        {
            return str == null || str.Trim() == "";
        }

        public static void Raise(this PropertyChangingEventHandler handler, object sender, string propertyName)
        {
            if (handler != null)
                handler(sender, new PropertyChangingEventArgs(propertyName));
        }
    }
}
